package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Questions;
import org.bson.types.ObjectId;

import java.util.List;

/**
 * @author wjs
 * @version 1.0
 * @date 2022/1/9 0009 上午 9:12
 */
public interface QuestionsApi {
    List<Questions> findByIds(List<String> questionIds);

    void save(Questions questions);

    List<Questions> findByQuestionnairesId(ObjectId id);
}
